.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b9d, #c44569);
}

.login-form {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 300px;
}

.login-form h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

.login-form input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.login-form input:focus {
  outline: none;
  border-color: #ff6b9d;
}

.login-form button {
  width: 100%;
  padding: 0.75rem;
  background: #ff6b9d;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.login-form button:hover {
  background: #e55a87;
}

.back-button {
  background: #6c757d !important;
}

.back-button:hover {
  background: #5a6268 !important;
}

.admin-panel {
  min-height: 100vh;
  background: #f8f9fa;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.info {
  background: #17a2b8;
}

.notification.success {
  background: #28a745;
}

.notification.error {
  background: #dc3545;
}

.admin-header {
  background: white;
  padding: 1rem 2rem;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-header h1 {
  color: #ff6b9d;
  margin: 0;
  font-size: 1.5rem;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.header-actions button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.token-settings-button {
  background: #6f42c1;
  color: white;
}

.token-settings-button:hover {
  background: #5a36a3;
}

.sync-button {
  background: #ff6b9d;
  color: white;
}

.sync-button:hover:not(:disabled) {
  background: #e55a87;
}

.sync-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.header-actions button:last-child {
  background: #6c757d;
  color: white;
}

.header-actions button:last-child:hover {
  background: #5a6268;
}

.admin-content {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.toolbar-group {
  display: flex;
  gap: 0.5rem;
}

.add-button {
  background: #28a745;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.add-button:hover {
  background: #218838;
}

.export-button,
.import-button {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.export-button:hover,
.import-button:hover {
  background: #5a6268;
}

.preview-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.preview-button:hover {
  background: #0056b3;
}

.sync-info {
  color: #6c757d;
  font-size: 0.9rem;
}

.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-item-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ff6b9d;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.item-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.item-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.item-actions {
  display: flex;
  gap: 0.5rem;
}

.item-actions button {
  padding: 0.25rem 0.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

.item-actions button:first-child {
  background: #ffc107;
  color: #212529;
}

.delete-button {
  background: #dc3545 !important;
  color: white !important;
}

.item-title {
  color: #333;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.item-description {
  color: #666;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .admin-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .admin-content {
    padding: 1rem;
  }

  .admin-toolbar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .item-actions {
    align-self: flex-end;
  }
}